{extends file="./main.tpl"}
{block name=body}
<center><h1 style="font-size:20px;">Account</h1></center>
<form name="accountForm" action="{$smarty.server.PHP_SELF}" method="POST" onsubmit="return confirm('DO You Want To Submit !!!!!')";>
  <table align="center">
    <tr>
      <th align="right"> Account Name: </th>
      <td><input type="text" name="accountName" size="26" autofocus="autofocus" /></td>
    </tr>
    <tr>
      <th align="right"> Credit/Debit </th>
      <td>
        <select name="openingDrCr">
          {html_options values=$drCrValuesArr output=$drCrOutputArr}
        </select>
      </td>
    </tr>
    <tr>
      <th align="right"> Opening: </th>
      <td><input type="text" name="opening" size="26" /></td>
    </tr>
    <tr>
      <th align="right"> Day Book: </th>
      <td><input type="checkBox" name="isDayBook" size="26" /></td>
    </tr>
    <tr>
      <td colspan="2"><input type="submit" name="submitBtn" value="Submit"></td>
    </tr>
  </table>
</form>
{/block}